Skip to content

Fix failing lint #329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 23, 2024
Merged

Fix failing lint #329

merged 3 commits into from
Sep 23, 2024

Conversation

DifferentialOrange
Copy link
Member

@DifferentialOrange DifferentialOrange commented Sep 22, 2024

See commits for more info.

@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/no-gh-lint branch from 3d63291 to 4fe0cce Compare September 22, 2024 16:56
Pylint 3.3.0 includes a new warning: too-many-positional-arguments [1].
We already ignore a similar too-many-arguments warning in several places
since "fixing" it is backward-incompatible.

1. pylint-dev/pylint#9099
Disabling any new pylint warnings per-entity results in older pylint
failing due to unknown option. Since we support several pylint versions
due to Python version restrictions, we need to support multiple pylint
versions as well.
Any new linter release, including bugfix ones, may result in failing CI.
Since tarantool-python CI is included in several integration pipelines,
such things may block work on repos like tarantool/tarantool and
tarantool/luajit. On the other hand, if CI will start to fail due to a
new linter release, it is unlikely that something user-critical will be
discovered. So for now let's stick to the following approach: one will
bump linters manually from time to time and fix/disable emerging issues.
@DifferentialOrange DifferentialOrange force-pushed the DifferentialOrange/no-gh-lint branch from 4fe0cce to 7726a91 Compare September 22, 2024 16:59
@DifferentialOrange DifferentialOrange marked this pull request as ready for review September 22, 2024 17:05
@DifferentialOrange DifferentialOrange merged commit b6422af into master Sep 23, 2024
75 checks passed
@DifferentialOrange DifferentialOrange deleted the DifferentialOrange/no-gh-lint branch September 23, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants